<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="com.is.util.ParamUtil"%>
<%@page import="com.is.control.CourseClassControl"%>
<% 
	request.setCharacterEncoding("UTF-8");
	response.setCharacterEncoding("UTF-8");
	String updateCourse = ParamUtil.getString(request,"updateCourse");
	int ccId = ParamUtil.getInt(request,"ccId");
	if(CourseClassControl.updatePrevTotalClassById(ccId,updateCourse)){
		out.print("1");
	} else{
		out.print("0");
	}
%>
